package com.polito.mad.bikeponyapp.activity;

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;

import com.polito.mad.bikeponyapp.R;

public class ProgressActivity extends Activity {

	static private ProgressActivity progActivity;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_progress);
		
		//make this a modal dialog
		setFinishOnTouchOutside (false);
		
		progActivity = this;
		
		this.setTitle("");
	}

	static public ProgressActivity getInstance()
	{
		return progActivity;
	}
	
	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.progress, menu);
		return true;
	}

}
